package vn.vietel.pms.entity;

import java.io.Serializable;

import static org.jboss.seam.ScopeType.EVENT;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;

@Entity
@Name("vhistoricalaction")
@Scope(EVENT)
@Table(name = "VHistoricalAction")
public class VHistoricalAction implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7682852560911180333L;
	private Long id;

	private String actionName;
	private String actionDesc;

	public VHistoricalAction() {
		super();
	}

	public VHistoricalAction(Long id, String actionName, String actionDesc) {
		super();
		this.id = id;
		this.actionName = actionName;
		this.actionDesc = actionDesc;
	}

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "historicalID")
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getActionName() {
		return actionName;
	}

	public void setActionName(String actionName) {
		this.actionName = actionName;
	}

	public String getActionDesc() {
		return actionDesc;
	}

	public void setActionDesc(String actionDesc) {
		this.actionDesc = actionDesc;
	}

}
